From 66df8d753bb8f9cadfcd1e23d24d1d8727664e00 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Thu, 20 Jan 2022 22:50:15 +0100
Subject: chore: add sharing widget to single project view

---
 src/pages/projet/[slug].tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/pages/projet/[slug].tsx')

diff --git a/src/pages/projet/[slug].tsx b/src/pages/projet/[slug].tsx
index ce5dd66..e497481 100644
--- a/src/pages/projet/[slug].tsx
+++ b/src/pages/projet/[slug].tsx
@@ -2,7 +2,7 @@ import { getLayout } from '@components/Layouts/Layout';
 import PostHeader from '@components/PostHeader/PostHeader';
 import ProjectSummary from '@components/ProjectSummary/ProjectSummary';
 import Sidebar from '@components/Sidebar/Sidebar';
-import { ToC } from '@components/Widgets';
+import { Sharing, ToC } from '@components/Widgets';
 import { config } from '@config/website';
 import styles from '@styles/pages/Page.module.scss';
 import {
@@ -106,6 +106,9 @@ const Project: NextPageWithLayout<ProjectProps> = ({
           <ProjectSummary slug={id} title={title} cover={cover} meta={meta} />
           <ProjectContent />
         </div>
+        <Sidebar position="right">
+          <Sharing title={title} excerpt={intro} />
+        </Sidebar>
       </article>
     </>
   );
-- 
cgit v1.2.3

